package edu.xhu.communityantiepidemicsystemback.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import edu.xhu.communityantiepidemicsystemback.dto.*;
import edu.xhu.communityantiepidemicsystemback.entity.Community;
import edu.xhu.communityantiepidemicsystemback.entity.Notice;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Component;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lcx
 * @since 2022-06-20
 */

public interface INoticeService extends IService<Notice> {


    //获取列表信息
    public IPage<Notice> selectNoticeList(Query query);

    //模糊查询
    IPage<Notice> fuzzyNoticeInfo(Fuzzy fuzzy);

    //增加
    public boolean addNotice(CreateNotice createNotice);

    //删除
    public boolean delNotice(Integer id);

    //修改
    public boolean updateNotice(UpdateNotice updateNotice);
}
